package com.xebia.eshop.web.config;

import javax.servlet.annotation.WebListener;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;
@WebListener
public class GuiceConfig extends GuiceServletContextListener {
    @Override
    protected Injector getInjector() {
           return Guice.createInjector(
        		   new GuiceServletModule(),
        		   new GuiceRestModule()
        	);
    }
}
